package com.naiterui.ehp.bs.cms.modules.oms.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bs.cms.common.json.Dict;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

@Data
public class OrderLogVO implements java.io.Serializable {
    private static final long serialVersionUID = 7937823870514217082L;

    /**
     * 操作内容
     */
    @ApiModelProperty(value = "操作内容")
    private String content;

    /**
     * 操作之前订单状态
     */
    @Dict(type = "order_status")
    @ApiModelProperty(value = "操作之前订单状态")
    private Integer beforeOrderStatus;

    /**
     * 操作之后订单状态
     */
    @Dict(type = "order_status")
    @ApiModelProperty(value = "操作之后订单状态")
    private Integer afterOrderStatus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createdBy;

}
